package com.yjd.comm.fraudmetrix.service;

import java.util.Map;

import com.yjd.comm.base.enums.DbWREnums;
import com.yjd.comm.base.model.PagerModel;
import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.fraudmetrix.model.FraudRecordModel;

/**
 * 同盾风险记录服务
 * @author wanganping
 *
 */
public interface IFraudRecordService extends IBaseService {
	
	/**
	 * 插入
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public FraudRecordModel insert(FraudRecordModel model) throws Exception;
	
	/**
	 * 获取同盾风险记录分页
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public PagerModel getPageRecord(Map<String, Object> param) throws Exception;
	
	/**
	 * 锁住用户
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int lockUser(Map<String,Object> param) throws Exception;
	
	
	/**
	 * 解锁用户
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int unlockUser(Map<String,Object> param) throws Exception;
	

}
